package org.demo.szml.perssionservice.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 权限角色配置
 * @date: 2025/6/17 15:46
 * @version: 1.0
 */
@Data
@Configuration
@RefreshScope
@EnableConfigurationProperties(value = PermissionRoleConfiguration.class)
@ConfigurationProperties(prefix = "permission.service")
public class PermissionRoleConfiguration {
    //默认角色
    private Integer defaultRole;

}
